
import java.io.*;
import java.util.Scanner;

public class xieru {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        FileOutputStream out = new FileOutputStream("Curriculum07/src/xieru.txt");
        String str = scanner.next();
        byte[] b = str.getBytes();
        for (byte value : b) {
            out.write(value);
        }
        out.close();


        FileInputStream in = new FileInputStream("Curriculum07/src/xieru.txt");
        byte[] c = new byte[1024];
        int read = 0;
        read = in.read(c);
        String str1 = new String(c, 0, read);
        System.out.println(str1);
    }
}
